import { ACCOUNT_CENTER_LOGIN } from '@/apis'

export const REDIRECT_URL = import.meta.env.PROD
  ? '现在还没有正式不是网址'
  : `${location.origin}`

export const AUTH_PAGE = `${
  ACCOUNT_CENTER_LOGIN
}/v1/oauth2/authorize?client_id=1681780257115&redirect_uri=${encodeURIComponent(
  REDIRECT_URL
)}&response_type=code`

export const LOGIN_OUT_AUTH = `${
  ACCOUNT_CENTER_LOGIN
}/v1/sso/logout?redirect_uri=${encodeURIComponent(REDIRECT_URL)}`
